﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web_Blog.Object
{
    public class Load1PostObject
    {
        private int pID, uID, block;

        public int Block
        {
            get { return block; }
            set { block = value; }
        }
        private string title, contents, liked, createdate, modifydate, tag, nick, avatar, name;
        
        public int PID
        {
            get { return pID; }
            set { pID = value; }
        }

        public int UID
        {
            get { return uID; }
            set { uID = value; }
        }

        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        public string Contents
        {
            get { return contents; }
            set { contents = value; }
        }

        public string Liked
        {
            get { return liked; }
            set { liked = value; }
        }

        public string Createdate
        {
            get { return createdate; }
            set { createdate = value; }
        }

        public string Modifydate
        {
            get { return modifydate; }
            set { modifydate = value; }
        }

        public string Tag
        {
            get { return tag; }
            set { tag = value; }
        }

        public string Nick
        {
            get { return nick; }
            set { nick = value; }
        }

        public string Avatar
        {
            get { return avatar; }
            set { avatar = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}